package com.love.marriage.userInfo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.love.marriage.config.Long2StringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Schema(name = "InviteDetailVo", description = "邀请明细Vo")
public class InviteCommissionVo {

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(name = "rootUser", description ="当前用户", type = "Long", implementation = Long.class)
    private Long rootUser;

    @Schema(name = "jtCount", description ="间推人数", type = "Integer", implementation = Integer.class)
    private Integer jtCount;

    @Schema(name = "jtAmount", description ="间推总金额", type = "BigDecimal", implementation = BigDecimal.class)
    private BigDecimal jtAmount;

    @Schema(name = "jtCommission", description ="间推佣金", type = "BigDecimal", implementation = BigDecimal.class)
    private BigDecimal jtCommission;

    @Schema(name = "jtInviteCommissionDetailList", description ="间接邀请佣金明细", type = "List", implementation = List.class)
    private List<InviteCommissionDetailVo> jtInviteCommissionDetailList;

    @Schema(name = "ztCount", description ="直推总人数", type = "Integer", implementation = Integer.class)
    private Integer ztCount;

    @Schema(name = "ztAmount", description ="直推总金额", type = "BigDecimal", implementation = BigDecimal.class)
    private BigDecimal ztAmount;

    @Schema(name = "ztCommission", description ="直推佣金", type = "BigDecimal", implementation = BigDecimal.class)
    private BigDecimal ztCommission;

    @Schema(name = "ztInviteCommissionDetailList", description ="直推邀请佣金明细", type = "List", implementation = List.class)
    private List<InviteCommissionDetailVo> ztInviteCommissionDetailList;
}
